// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import Sev from './js/Jajax'
import 'lib-flexible/flexible'
import VueParticles from 'vue-particles'
import { Alert, Aside, Avatar, Breadcrumb, BreadcrumbItem, Button, Card, Carousel, CarouselItem, Checkbox, Col, Collapse, CollapseItem, Container, Descriptions, DescriptionsItem, Dialog, Divider, Footer, Form, FormItem, Image, Input, Main, Menu, MenuItem, MessageBox, Row, Select, Submenu, Table, TableColumn, TabPane, Tabs, Tag ,Scrollbar,Message,Timeline,TimelineItem } from 'element-ui'

Vue.config.productionTip = false
Vue.use(VueParticles)
Vue.prototype.$Sev=Sev
Vue.component(Footer.name,Footer)
Vue.component(Tabs.name,Tabs)
Vue.component(Dialog.name,Dialog)
Vue.component(TabPane.name,TabPane)
Vue.component(Button.name,Button)
Vue.component(Select.name,Select)
Vue.component(Row.name,Row)
Vue.component(Col.name,Col)
Vue.component(Card.name,Card)
Vue.component(Avatar.name,Avatar)
Vue.component(Divider.name,Divider)
Vue.component(Tag.name,Tag)
Vue.component(Alert.name,Alert)
Vue.component(Menu.name,Menu)
Vue.component(Submenu.name,Submenu)
Vue.component(MenuItem.name,MenuItem)
Vue.component(Breadcrumb.name,Breadcrumb)
Vue.component(BreadcrumbItem.name,BreadcrumbItem)
Vue.component(Container.name,Container)
Vue.component(Aside.name,Aside)
Vue.component(Main.name,Main)
Vue.component(Image.name,Image)
Vue.component(Descriptions.name,Descriptions)
Vue.component(DescriptionsItem.name,DescriptionsItem)
Vue.component(Collapse.name,Collapse)
Vue.component(CollapseItem.name,CollapseItem)
Vue.component(Carousel.name,Carousel)
Vue.component(CarouselItem.name,CarouselItem)
Vue.component(Form.name,Form)
Vue.component(FormItem.name,FormItem)
Vue.component(Checkbox.name,Checkbox)
Vue.component(Input.name,Input)
Vue.component(MessageBox.name,MessageBox)
Vue.component(Table.name,Table)
Vue.component(TableColumn.name,TableColumn)
Vue.component(Message .name,Message )
Vue.component(Timeline.name,Timeline )
Vue.component(TimelineItem.name,TimelineItem )
Vue.component(Scrollbar.name,Scrollbar )


Vue.prototype.$mb = MessageBox
Vue.prototype.$message = Message
/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
